package com.yuanfeng.activity.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName ActivitySpinwinLuckyDrawTimesController
 * @Description
 * @Author hyq
 * @Date 2023/7/11 9:32
 * @Version 1.0
 **/
@RestController
@RequestMapping("activity/spinwinLuckyDrawTimes")
public class ActivitySpinwinLuckyDrawTimesController extends BaseController{


    /**
     *
     * 查询参与幸运大转盘活动的用户抽奖次数列表
     *
     * @param param
     * @return
     */
    @PostMapping("/list")
    public ResponseResult queryLuckyDrawTimesList(@RequestBody Map<String, Object> param) {
        ResponseResult result = activitySpinwinLuckyDrawTimesService.queryLuckyDrawTimesList(param);
        return result;
    }

}
